import Vue from 'vue'
export const base = {
  // 数据字典
  dictionaryData: params => {
    return Vue.prototype.$get(`/upms/dictionary/findByTypeCode/${params}`)
  },
  dictionaryList: params => {
    return Vue.prototype.$post('/upms/dictionary/list', params)
  },
  collegeAll: params => {
    return Vue.prototype.$post('/base/yxxx/queryAll', params)
  },
  majorAll: params => {
    return Vue.prototype.$post('/base/zyxx/queryAll', params)
  },
  areaList: params => {
    return Vue.prototype.$post('/base/areas/list', params)
  },
  schoolInfoQueryAll: params => {
    return Vue.prototype.$post('/base/xxjbxx/queryAll', params)
  },
  campusAll: params => {
    return Vue.prototype.$post('/base/xxxq/queryAll', params)
  },
  collegeNoAuth: params => {
    return Vue.prototype.$post('/base/yxxx/queryByNoAuth', params)
  },
  sysMessageDelete: params => {
    return Vue.prototype.$get(`/base/sysMessage/delete/${params}`)
  },
  sysMessageDeleteAll : params => {
    return Vue.prototype.$get(`/base/sysMessage/deleteByUser`)
  },
  sysGgxxInfo: params => {
    return Vue.prototype.$get(`/base/ggxx/info/${params}`)
  },
}
